Skip to content

Conversation

@glastonbridge
Copy link
Collaborator

The LED matrix was firing multiple redundant change events when the user interacted with it. Particularly bad was when the mousemove event fired multiple times over the same LED, triggering change events. This fix tests for an actual change in state and guards against firing additional events.

Before

Screen.Recording.2025-07-17.at.15.53.23.mov

After

Screen.Recording.2025-07-17.at.15.50.31.mov

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jul 17, 2025

Deploying review-pxt with  Cloudflare Pages  Cloudflare Pages

Latest commit: 0f21334
Status: ✅  Deploy successful!
Preview URL: https://2b5eb7a4.review-pxt.pages.dev
Branch Preview URL: https://led-matrix-undo-stack.review-pxt.pages.dev

View logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants